package com.ten;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author ：杨（1964958771@qq.com）
 * @date ：Created in 2022/12/5 20:41
 * @description：
 * @modified By：
 * @version:
 */
@SpringBootApplication(scanBasePackages = {"com.ten.security","com.ten.shou","com.ten.common"})
@MapperScan(basePackages = "com.ten.shou.dao")
@EnableSwagger2
@EnableFeignClients  //开启openfeign注解
public class ShouApp {
    public static void main(String[] args) {
        SpringApplication.run(ShouApp.class, args);
    }
}
